package com.tinglv.imguider.entity;

import lombok.Getter;
import lombok.Setter;
import org.beetl.sql.core.annotatoin.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 管理员实体
 *
 * @author hochen
 * @date 2017/11/28
 */
@Table(name = "tl_admin") @Setter @Getter public class Admin extends BaseEntity
    implements Serializable {
    private static final long serialVersionUID = 2730933147205527544L;

    private String id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 初始密码
     */
    private String password;
    private String realname;
    private String role;
    private Integer status;
    private Date createtime;
    private String creator;
    private Date lastlogin;
    private String privileges;

}
